Matthias Clasen [Thu, 22 May 2014 02:50:48 +0000 (22:50 -0400)]
Avoid a critical in the file chooser
Hiding the location entry was causing criticals, because
the completion was updated after the widget has already
been disposed.
https://bugzilla.gnome.org/show_bug.cgi?id=720330
Benjamin Otte [Wed, 21 May 2014 17:17:21 +0000 (19:17 +0200)]
css: Actually break at end of the string
Introduced in
65c4c1555d0634c063c3aa354620de260e4aaf7f.
Found by gnome-continuous running the testsuite.
Includes fixing a broken test in the testsuite.
Matthias Clasen [Thu, 22 May 2014 00:11:16 +0000 (20:11 -0400)]
GtkAppChooserDialog: Make the search entry wider
It was too narrow, and looked a bit odd.
https://bugzilla.gnome.org/show_bug.cgi?id=727147
Matthias Clasen [Thu, 22 May 2014 00:09:46 +0000 (20:09 -0400)]
searchbar: Add some spacing
When showing the close button, and placing a wide entry in the
middle, there was no separation at all. Fix this by setting
some spacing.
Matthias Clasen [Wed, 21 May 2014 23:23:56 +0000 (19:23 -0400)]
ColorChooser: Emit notification for editor changes
When the color editor is visible, there is no way for the
application to know about the changes that are happening.
Fix this by emitting property notification for the "rgba"
property.
http://bugzilla.gnome.org/show_bug.cgi?id=708037
Matthias Clasen [Wed, 21 May 2014 23:02:52 +0000 (19:02 -0400)]
Add a 3.14 index for the GDK docs
Matthias Clasen [Wed, 21 May 2014 23:01:37 +0000 (19:01 -0400)]
Small typo fixes
We generally talk about the 'windowing system' in the GDK frontend
docs, not the 'window manager'.
Jasper St. Pierre [Thu, 13 Mar 2014 21:28:01 +0000 (17:28 -0400)]
gtkwindow: Use window-manager-side window menus
This avoids a bunch of policy problems with deciding how to lay
out the window menu under different WMs.
For now, we use the special event _GTK_SHOW_WINDOW_MENU, but we
hope to have this standardized in wm-spec quite soon, as KDE wants
it as well.
Yosef Or Boczko [Wed, 21 May 2014 14:50:37 +0000 (17:50 +0300)]
inspector: Use the new support for RTL icons in GtkIconTheme
https://bugzilla.gnome.org/show_bug.cgi?id=730526
Matthias Clasen [Wed, 21 May 2014 17:46:49 +0000 (13:46 -0400)]
tests: Make icontheme test installable
To make the icontheme test run successfully when installed,
we need to use the correct test-framework-provided location,
and we need to install the test theme without stripping its
subdirectory structure.
Yosef Or Boczko [Wed, 21 May 2014 14:45:38 +0000 (17:45 +0300)]
Use the new support for RTL icons in GtkIconTheme
https://bugzilla.gnome.org/show_bug.cgi?id=730526
Matthias Clasen [Wed, 21 May 2014 14:29:17 +0000 (10:29 -0400)]
GtkLabel: Make context menus on links work
We see an active link when creating the menu, but by the time
the menuitem is activated, we've received a leave notify that
makes the label clear its active link. Instead, give the
menuitems a direct reference to the link that is active when
the menu is created.
Problem pointed out by Tim Baedert
Matthias Clasen [Wed, 21 May 2014 10:41:20 +0000 (06:41 -0400)]
inspector: Avoid weak ref problems
We know the objects in a size group are always widgets, so we
can avoid hard-to-track down problems with weak references by
just cleaning up when the object gets destroyed. There is still
a chance that we show a widget as part of the group after it
has been removed, but size groups simply have no signals that
would let us avoid that.
Matthias Clasen [Wed, 21 May 2014 10:39:11 +0000 (06:39 -0400)]
inspector: Simplify object life-cycle handling
The prop-list doesn't use the object column in its model,
so don't put the object there. And don't leak stuff on
finalize.
Matthias Clasen [Wed, 21 May 2014 02:38:38 +0000 (22:38 -0400)]
inspector: Use an emission hook instead of signal handlers
This is slightly easier to manage, and there's only two emission
hooks overall, instead of two signal handlers per object.
Yosef Or Boczko [Wed, 21 May 2014 09:40:41 +0000 (12:40 +0300)]
Updated Hebrew translation
Yosef Or Boczko [Wed, 21 May 2014 09:40:32 +0000 (12:40 +0300)]
Updated POTFILES.in
Matthias Clasen [Wed, 21 May 2014 01:44:48 +0000 (21:44 -0400)]
inspector: Show size groups
Add a tab that shows size groups of a widget. The properties
of the size group are available here, as well as the widgets
that are part of the size group. We highlight the widgets in
the application when their row in the inspector is hovered.
Matthias Clasen [Wed, 21 May 2014 01:43:00 +0000 (21:43 -0400)]
inspector: Add a way to highlight widgets
In contrast to the flashing, where we blink the widget a
few times, this is explicitly turned on and off.
It will be used for indicating widgets that are part of
a size group, in the next commit.
Yosef Or Boczko [Tue, 20 May 2014 16:33:19 +0000 (19:33 +0300)]
inspector: Use symbolic icon everywhere
https://bugzilla.gnome.org/show_bug.cgi?id=730465
Yosef Or Boczko [Tue, 20 May 2014 16:31:58 +0000 (19:31 +0300)]
inspector: Expand tabs in the objects section
https://bugzilla.gnome.org/show_bug.cgi?id=730465
Yosef Or Boczko [Tue, 20 May 2014 16:30:56 +0000 (19:30 +0300)]
inspector: Expand the general tabs
https://bugzilla.gnome.org/show_bug.cgi?id=730465
Matthias Clasen [Tue, 20 May 2014 14:10:31 +0000 (10:10 -0400)]
Add a skeleton for an input handling overview document
Not integrated in the docs yet, since there's no content.
Matthias Clasen [Tue, 20 May 2014 13:55:29 +0000 (09:55 -0400)]
docs: syntax fix
It is just 'Deprecated:' in doc comments, not '@Deprecated:'.
Matthias Clasen [Tue, 20 May 2014 13:47:44 +0000 (09:47 -0400)]
docs: enum cleanup
Move GtkExpanderStyle over to the deprecated GtkStyle.
Matthias Clasen [Tue, 20 May 2014 13:45:50 +0000 (09:45 -0400)]
inspector: Avoid a compiler warning
...and a pointless cast, too.
Matthias Clasen [Tue, 20 May 2014 13:37:53 +0000 (09:37 -0400)]
docs: enum cleanup
Move GtkResizeMode to the only place it is used.
Matthias Clasen [Tue, 20 May 2014 13:13:20 +0000 (09:13 -0400)]
docs: Minor fix
Matthias Clasen [Tue, 20 May 2014 13:12:10 +0000 (09:12 -0400)]
docs: enum cleanup
Move GtkWindowPosition and GtkWindowType to the only place
they are used.
Matthias Clasen [Tue, 20 May 2014 13:05:50 +0000 (09:05 -0400)]
docs: enum cleanup
Move GtkJunctionSides, GtkRegionFlags and GtkBorderStyle
to the GtkStyleContext docs.
Matthias Clasen [Tue, 20 May 2014 13:01:37 +0000 (09:01 -0400)]
docs: enum cleanup
Move GtkDragResult to the DND section
Matthias Clasen [Tue, 20 May 2014 11:50:38 +0000 (07:50 -0400)]
docs: enum cleanup
Move types that are only used in binding parsing to
gtkrc, together with the deprecated api.
Matthias Clasen [Tue, 20 May 2014 12:36:12 +0000 (08:36 -0400)]
docs: enum cleanup
scrolledwindow part 2
Matthias Clasen [Tue, 20 May 2014 10:47:23 +0000 (06:47 -0400)]
docs: enum cleanup
Move GtkCornerType to the GtkScrolledWindow docs.
Matthias Clasen [Tue, 20 May 2014 10:30:41 +0000 (06:30 -0400)]
docs: enum cleanup
Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox.
Matthias Clasen [Tue, 20 May 2014 10:22:13 +0000 (06:22 -0400)]
docs: enum cleanup
Move GtkAttachOptions to the only place its used: GtkTable
Matthias Clasen [Tue, 20 May 2014 10:19:56 +0000 (06:19 -0400)]
doc: enum cleanup
Move GtkArrowType to where it is used in undeprecated api:
GtkMenuButton.
Matthias Clasen [Tue, 20 May 2014 10:17:16 +0000 (06:17 -0400)]
docs: enum cleanup
Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.
Matthias Clasen [Tue, 20 May 2014 10:07:31 +0000 (06:07 -0400)]
docs: enum cleanup
Move GtkAccelFlags to the GtkAccelGroup docs.
Yosef Or Boczko [Tue, 20 May 2014 07:21:44 +0000 (10:21 +0300)]
Updated Hebrew translation
Rico Tzschichholz [Tue, 20 May 2014 06:11:44 +0000 (08:11 +0200)]
docs: Fix make dist
Matthias Clasen [Tue, 20 May 2014 03:20:56 +0000 (23:20 -0400)]
Add man pages for gtk3-demo and gtk3-widget-factory
We install the applications, so they should also have some docs.
Matthias Clasen [Tue, 20 May 2014 02:47:59 +0000 (22:47 -0400)]
docs: Trivial typo fix
Piotr Drąg [Tue, 20 May 2014 00:08:24 +0000 (02:08 +0200)]
Updated POTFILES.in
Evan Nemerson [Sat, 17 May 2014 03:12:51 +0000 (20:12 -0700)]
gdk: assorted introspection and documentation fixes
https://bugzilla.gnome.org/show_bug.cgi?id=729983
Matthias Clasen [Mon, 19 May 2014 18:07:37 +0000 (14:07 -0400)]
GtkSettings: load modules from settings.ini
The initialization is really suboptimal here. This fix at least
makes it so that we don't forget to load modules.
https://bugzilla.gnome.org/show_bug.cgi?id=730306
Yuri Myasoedov [Mon, 19 May 2014 17:40:44 +0000 (21:40 +0400)]
Updated Russian translation
Carlos Garnacho [Mon, 19 May 2014 11:50:21 +0000 (13:50 +0200)]
popover: Check for uncaught button events from children
And deal correctly with those as a click within the popover.
https://bugzilla.gnome.org/show_bug.cgi?id=727994
Carlos Garnacho [Mon, 19 May 2014 11:41:34 +0000 (13:41 +0200)]
popover: Do not hide the popover if the focus widget is just unset
The focus widget might be unset, just to be set again on a widget inside
the popover. Have the popover wait till the focus is actually moved outside
before dismissing.
Matthias Clasen [Mon, 19 May 2014 11:10:33 +0000 (07:10 -0400)]
inspector: Build out the resource information
Show type and size for each resource.
Matthias Clasen [Mon, 19 May 2014 10:58:06 +0000 (06:58 -0400)]
Fix doc syntax
End-of-comment tags don't take an @ - thats only for parameters.
Matthias Clasen [Mon, 19 May 2014 04:17:23 +0000 (00:17 -0400)]
inspector: string fixes
Mark user-visible strings for translation in the new property editor.
Matthias Clasen [Mon, 19 May 2014 04:13:30 +0000 (00:13 -0400)]
inspector: Link to model for attributes
Benjamin Otte [Mon, 19 May 2014 02:24:10 +0000 (04:24 +0200)]
widget: Untagle if statements
Reduces the number of nested ifs and makes the code clearer.
Matthias Clasen [Sun, 18 May 2014 05:03:24 +0000 (01:03 -0400)]
inspector: redo property editing
Move away from cell editing, and use a popover instead. This makes
it easier to e.g. use a color chooser - there's just not enough room
in a cell for many things.
Much of this code is adapted from tests/prop-editor.c.
Matthias Clasen [Sun, 18 May 2014 04:02:59 +0000 (00:02 -0400)]
GtkAssistant: Avoid a crash
The child properties in GtkAssistant are somewhat broken, since
they are not on direct children - but that is no reason to crash
if somebody does ask for child properties of direct children.
Benjamin Otte [Sun, 18 May 2014 14:08:30 +0000 (16:08 +0200)]
API: Deprecate gtk_container_set_reallocate_redraws()
Michael Catanzaro [Sun, 18 May 2014 03:20:13 +0000 (22:20 -0500)]
Fix a typo
Benjamin Otte [Sun, 18 May 2014 00:29:56 +0000 (02:29 +0200)]
API: Deprecate gtk_widget_region_intersect()
It's unused and would become disambiguous once we split between
allocation and draw region.
Benjamin Otte [Sat, 17 May 2014 18:37:54 +0000 (20:37 +0200)]
API: Deprecate gtk_widget_reparent()
Yosef Or Boczko [Sat, 17 May 2014 21:17:57 +0000 (00:17 +0300)]
Updated Hebrew translation
Matthias Clasen [Sat, 17 May 2014 19:39:46 +0000 (15:39 -0400)]
inspector: Allow sorting signals
Matthias Clasen [Sat, 17 May 2014 19:35:10 +0000 (15:35 -0400)]
inspector: Allow sorting properties by origin
Matthias Clasen [Sat, 17 May 2014 19:32:54 +0000 (15:32 -0400)]
treeview: Don't show missing images
When a model is sortable, but the the column is not currently used
for sorting, we want to reserve the space for showing the sort
indicator. But we currently set the icon to 'missing-image', which
is not great to show all over the place. So, just set the opacity
to 0.
Piotr Drąg [Sat, 17 May 2014 18:20:45 +0000 (20:20 +0200)]
Improve punctuation in a new translatable string
Matthias Clasen [Sat, 17 May 2014 01:51:42 +0000 (21:51 -0400)]
inspector: Add a first-time warning
With the keybinding, it is possible that users may trigger the
inspector unintentionally. Show a dialog that informs them about
whats going on and gives them a chance to back out.
The warning dialog can be bypassed with the
org.gtk.Settings.Debug inspector-warning setting.
Matthias Clasen [Sat, 17 May 2014 00:49:06 +0000 (20:49 -0400)]
inspector: Drop an unused widget
Jasper St. Pierre [Fri, 16 May 2014 19:34:18 +0000 (15:34 -0400)]
wayland: Clean up init code a tiny bit
Jasper St. Pierre [Fri, 16 May 2014 19:30:10 +0000 (15:30 -0400)]
wayland: Simplify roundtrip initialization
All the globals we care about should appear before doing anything
else, up-front, so a single round-trip after adding the registry
should be more than enough.
Jasper St. Pierre [Thu, 15 May 2014 22:11:20 +0000 (18:11 -0400)]
wayland: Remove unused stuff
Matthias Clasen [Fri, 16 May 2014 18:22:13 +0000 (14:22 -0400)]
Trivial syntax fix
Chun-wei Fan [Fri, 16 May 2014 10:02:00 +0000 (18:02 +0800)]
GtkInspector: Fix Build on Windows
Update visual.c to use Windows themes rather than the stock Raleigh theme,
and avoid hardcoding data paths for Windows (and Mac). As the dlfcn.h
functions are only used when Python is enabled, move its inclusion there[*].
Also ensure that variables are declared on the top of the block.
[*] Python support Windows needs to be investigated, as POSIX signal
handling is used there.
https://bugzilla.gnome.org/show_bug.cgi?id=730236
Piotr Drąg [Fri, 16 May 2014 15:30:25 +0000 (17:30 +0200)]
Updated POTFILES.skip
Matthias Clasen [Fri, 16 May 2014 12:24:37 +0000 (08:24 -0400)]
Docs: Update an example to use current API
Chun-wei Fan [Fri, 16 May 2014 09:32:29 +0000 (17:32 +0800)]
Visual Studio Builds: Build GtkInspector
Add project files to build the GtkInspector sources, as gtk-inspector is a
required portion for GTK+. "Install" the
org.gtk.Settings.Debug.gschema.xml gsettings schema file as well, so that
people can trigger GtkInspector as they develop and test their GTK+-based
programs.
Matthias Clasen [Fri, 16 May 2014 04:27:28 +0000 (00:27 -0400)]
inspector: Show tree model contents
Chun-wei Fan [Fri, 16 May 2014 04:07:01 +0000 (12:07 +0800)]
gdkselection-win32.c: Declare Variables At Top Of Block
...so that builds on Visual C++ can be fixed.
Matthias Clasen [Fri, 16 May 2014 02:53:23 +0000 (22:53 -0400)]
inspector: Set a window icon
Matthias Clasen [Fri, 16 May 2014 02:36:48 +0000 (22:36 -0400)]
inspector: Improve actions tab
React to action group changes, and allow changing action states.
Matthias Clasen [Fri, 16 May 2014 00:54:22 +0000 (20:54 -0400)]
inspector: ellipsize long paths
Benjamin Otte [Fri, 16 May 2014 02:06:23 +0000 (04:06 +0200)]
cssimage: Implement symbolic coloring for -gtk-icontheme()
Yosef Or Boczko [Fri, 16 May 2014 02:11:56 +0000 (05:11 +0300)]
Updated Hebrew properties translation
Yosef Or Boczko [Fri, 16 May 2014 00:09:51 +0000 (03:09 +0300)]
Updated Hebrew translation
Yosef Or Boczko [Fri, 16 May 2014 00:09:44 +0000 (03:09 +0300)]
Updated POTFILES.in
Matthias Clasen [Thu, 15 May 2014 23:34:38 +0000 (19:34 -0400)]
inspector: Show resources
Show a list of all registered resources. If a resource looks
like text or an image, we show its content.
Matthias Clasen [Thu, 15 May 2014 20:11:14 +0000 (16:11 -0400)]
inspector: Redraw when visual debugging tools are toggled
This doesn't address the pixel cache yet.
Matthias Clasen [Thu, 15 May 2014 19:24:44 +0000 (15:24 -0400)]
inspector: Don't show internal build ids
These ___object_x___ ids just clutter up the tree.
Jasper St. Pierre [Thu, 15 May 2014 21:20:00 +0000 (17:20 -0400)]
wayland: Fix GtkMenuButton popups in a terrible, hacky way
Since you can't take grabs on unmapped windows, GtkMenu takes a grab on
the menu in a convoluted way: it first grabs another window, shows the
menu window, and then transfers the grab over to the GtkMenu widget.
For normal menubars, this is perfectly fine, as the first window it grabs
is our toplevel, and that gets picked up in our transient path. For
GtkMenuButton or other spurious uses of gtk_menu_popup, it creates a new
temporary input-only window which it takes the grab on, known as the "grab
transfer window". Since this window isn't a transient-for of our new menu
widget window, the grab isn't noticed when we go to show it, and thus the
menu ends up as a new toplevel.
Add a special hack to GtkMenu and the Wayland backend which lets us notice
this "grab transfer window", and include it in our grab finding path.
It's sort of terrible to have to hack up the widgets instead of just the
backend, but the alternative would be an entirely new window type which is
managed correctly by GDK. I don't want to write that.
Jasper St. Pierre [Thu, 15 May 2014 21:14:26 +0000 (17:14 -0400)]
wayland: Clean up function to find the input seat
Jasper St. Pierre [Thu, 15 May 2014 21:12:09 +0000 (17:12 -0400)]
wayland: Clean up code to find the correct seat for a window
Piotr Drąg [Thu, 15 May 2014 18:53:48 +0000 (20:53 +0200)]
Updated POTFILES.in and POTFILES.skip
Yosef Or Boczko [Thu, 15 May 2014 18:16:58 +0000 (21:16 +0300)]
Updated Hebrew translation
Stefano Facchini [Thu, 15 May 2014 16:23:48 +0000 (18:23 +0200)]
inspector: make the classes-list toolbar sensitive
Stefano Facchini [Thu, 15 May 2014 16:15:31 +0000 (18:15 +0200)]
inspector: Fix a typo
Jasper St. Pierre [Thu, 15 May 2014 15:04:48 +0000 (11:04 -0400)]
inspector: git ignore template headers
Matthias Clasen [Thu, 15 May 2014 12:47:44 +0000 (08:47 -0400)]
Drop debug spew
Matthias Clasen [Thu, 15 May 2014 12:42:24 +0000 (08:42 -0400)]
Don't lie about baselines so much
Let g_object_get (w, "valign",...) report the truth, so that the
inspector can show it without special cases.
Matthias Clasen [Thu, 15 May 2014 12:42:14 +0000 (08:42 -0400)]
Minor doc fix
Yosef Or Boczko [Thu, 15 May 2014 10:09:14 +0000 (13:09 +0300)]
Updated Hebrew translation
Yosef Or Boczko [Thu, 15 May 2014 09:52:47 +0000 (12:52 +0300)]
inspector: Added general.ui to Makefile